package com.his.admin.service;

import com.his.dao.domain.dto.ListDto;
import com.his.dao.domain.entity.Patient;
import com.baomidou.mybatisplus.extension.service.IService;
import com.his.util.result.RestResult;

import javax.annotation.Resource;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author fall
 * @since 2022-11-28
 */
public interface PatientService extends IService<Patient> {
    RestResult all(ListDto listDto);

    /**
     * 查询所有患者的id
     * @param patient
     * @return
     */
    RestResult allId(Patient patient);

    /**
     * 根据ID查询患者名字
     */
    RestResult idToName(Patient patient);
    Integer getPatient(String patientCard, String patientName);
}
